//
// Created by hay boy on 2022/7/26.
//

#ifndef ALGORITHMS_WINNERTREE_H
#define ALGORITHMS_WINNERTREE_H

template<class T>
class winnerTree {
public:
    virtual ~winnerTree()= default;
    virtual void initialize(T *thePlayer,int theNumberOfPlayers)=0;
    virtual int winner()const=0;
    virtual void replay(int thePlayer)=0;
};
#endif //ALGORITHMS_WINNERTREE_H
